package com.sh.data.engine.application.model.mapper.workspace;


import com.alibaba.fastjson2.JSONObject;
import com.sh.data.engine.application.model.dto.workspace.ProjectDTO;
import com.sh.data.engine.application.model.dto.workspace.UserProjectDTO;
import com.sh.data.engine.domain.authority.model.domain.UserProjectDomain;
import com.sh.data.engine.domain.workspace.index.model.domain.ProjectDomain;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface UserProjectDTOMapper {

    UserProjectDTO map(UserProjectDomain userProjectDomain);

    List<UserProjectDTO> map(List<UserProjectDomain> userProjectDomain);


}
